package com.fcscs.cservice.service;

import java.util.List;

import com.fcscs.cservice.domain.Versions;
import com.fcscs.cservice.domain.model.EntityVersionView;

//To be implemented by ECMS managers: ECMSAdvertisementManager, ECMSInRoomMenuManager, ECMSMainMenuManager, ECMSThemeManager
public interface VersionableManager {
	//----------called by ECMSVersionManager.saveToTemplate and ECMSVersionManager.copyFromTemplate
	boolean copyVersion(Versions fromVer, Versions toVer);
	
	//----------called by ECMSVersionManager.getEntityVersionViewList
	List<EntityVersionView> getEntityVersionViewList(long orgId, long propId);
}
